
import { constantRoutes } from '@/router'
export default {
  // 开启命名空间
  namespaced: true,
  state: () => ({
    menuList: [...constantRoutes]
  }),
  mutations: {
    setMenuList(state, filterRouters) {
      state.menuList = [...constantRoutes, ...filterRouters]
    }
  }
}
